package com.neutech.base;

import java.awt.*;

public abstract class Sprite {
    private int x;
    private int y;

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    private int width;
    private int height;
    public Sprite(){

    }
    public Sprite(int x,int y){

        this.x=x;

        this.y=y;

    }
    public Sprite(int x,int y,int width,int height){

        this.x=x;

        this.y=y;

        this.width=width;

        this.height=height;
    }
    public abstract void draw(Graphics g);

    public void move(){

    }
    public Rectangle createRectangle(){
        return new Rectangle();
    }

}
